package com.hotel.comm.service.search;

import com.hotel.comm.bean.IReply;

public interface ILuceneSearchService {
    /**
     * 根据条件搜索所有职位信息
     *
     * @param cityId
     * @param positionName
     * @param positionType
     * @param workingLife
     * @param salaryRange
     * @param companyName
     * @param companyNature
     * @param companySize
     * @param companyScore
     * @param educationRequirements
     * @param currentPage
     * @param pageSize
     * @return
     */
    IReply searchPosition(String cityId, String positionName, String positionType, String workingLife, String salaryRange,
                          String companyName, String companyNature, String companySize, String companyScore, String educationRequirements,
                          int currentPage, int pageSize);

    /**
     * 清空Lucene工厂类中所有缓存搜索类
     */
    IReply clearPosition();
}
